# run-flask.ps1
# Flask 开发环境启动脚本

# 设置环境变量
$env:FLASK_APP = "flaskr"
$env:FLASK_ENV = "development"
$env:FLASK_DEBUG = "1"

set FLASK_APP = "flaskr"
set FLASK_ENV = "development"
set FLASK_DEBUG = "1"


# 启动 Flask 开发服务器
Write-Host "🚀 正在启动 Flask 应用..." -ForegroundColor Cyan
flask --debug run --host=0.0.0.0 --port=5000